<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
    <div id="demo">
        <h1>{{name}}{{age}},{{Date.now()}}</h1>
        <a :href="url.toUpperCase()">点我</a>
        <a href="Date.now()">点我</a>
    </div>

    <div id="demo2">
        <h1>{{name}}{{age}}</h1>
        <h1>{{$options}}</h1>
    </div>


    <script type="text/javascript">
        // Vue.config.productionTip = false;

        new Vue({
            el: '#demo',
            data: {
                name:'尚硅谷',
                age:'18',
                url:'http://www.atguigu.com'
            }
        });
        const v = new Vue({
            el: '#demo2',
            data: {
                name:'尚硅谷123',
                age:'182'
            }
        });
        console.log(v)
    </script>
</body>
</html>